from selenium import webdriver
from selenium.webdriver.chrome.options import Options
def common_browser():
    chrome_options = Options()
    chrome_options.add_argument('--headless')
    # path是自己电脑的Chrome浏览器文件地址
    path = r'C:\Program Files\Google\Chrome\Application\chrome.exe'
    chrome_options.binary_location = path
    browser = webdriver.Chrome(options=chrome_options)
    return browser